:root {
    --iconOneBG: #f8cdcc;
    --colorOne: #e85957;
    --iconTwoBG: #b8d0fd;
    --colorTwo: #1564f8;
    --iconThreeBG: #bcdfca;
    --colorThree: #209651;
}

.container {
    display: grid;
    place-items: center;
    height: 80vh;
    background-color: #F2ECFF;
    padding-bottom: 30px;
}

.row {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.card {
    width: 280px;
    height: 200px;
    text-align: center;
    transition: 0.5s ease-in-out;
    margin: 15px;
    position: relative;
    overflow: hidden;
}

.iconWrap {
    background-color: #ffffff;
    padding: 30px 20px 20px;
    border-radius: 4px;
    height: 200px;
}

.iconWrap h3 {
    margin: 15px 0 0;
    position: relative;
}

/* ICON CIRCLE BASE */
.icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.icon::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #6A51A2;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    transition: 0.5s ease-in-out;
}

/* All icons use same base color */
.card:nth-child(n) .icon::before {
    background-color: #6A51A2;
}

/* FONT AWESOME ICON */
.icon i {
    line-height: 80px;
    font-size: 28px;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

/* IMAGE ICON */
.custom-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background-color: #6A51A2;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.custom-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.4s ease;
}

/* HOVER EFFECT FOR BOTH ICON TYPES */
.card:hover .icon i,
.card:hover .custom-icon-wrapper,
.card:hover .custom-icon {
    transform: scale(1.2) rotate(5deg);
}

/* BACKGROUND EXPANSION ON HOVER */
.card:hover .icon::before {
    width: 400px;
    height: 300px;
    top: -100%;
    transition: 0.5s ease-in-out;
}

/* Custom gradient for buttons, as Tailwind's default gradients might not match exactly */
.btn-gradient-purple {
    background-image: linear-gradient(to right, #6D28D9, #8B5CF6);
    /* Deeper purple to lighter purple */
}

.text-gradient-purple {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #6D28D9, #8B5CF6);
}

/* Custom background for the entire section to match the light purple hue */
.bg-light-purple-gradient {
    background: linear-gradient(to bottom, #FDFDFD 0%, #F5F3FF 100%);
    /* Adjust colors as needed */
}

/* A custom shadow for the stats cards if default shadows aren't deep enough */
.custom-card-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.02);
}

@media (max-width:768px) {
    .container {
        height: auto;
    }
}